//
//  UIButton+init.m
//  SinaVboc
//
//  Created by V on 29/11/2016.
//  Copyright © 2016 仁忄. All rights reserved.
//

#import "UIButton+init.h"

@implementation UIButton (init)

- (instancetype)initWithTitle:(NSString *)title titleSize:(CGFloat)titleSize titleColor:(UIColor *)titleColor  {
    
    if (self = [super init]) {
        
        [self setTitle:title forState:UIControlStateNormal];
        self.titleLabel.font = [UIFont systemFontOfSize:titleSize];
        [self setTitleColor:titleColor forState:UIControlStateNormal];
    }
    
    return self;
}

@end
